JavaScript

A5.ControlBarLayout Line Object

Description

Definition of a line in a layout in the control bar.

Properties

typestring

The type of line. A value of "custom" will use the supplied "html" property as the template for the contents of the line. The default value of "default" will use "before", "middle" and "after".

classNamestring

The class name to put on the element that contains the layout line.

stylestring

The inline CSS to put on the element that contains the layout line.

bindobject

Bindings for the layout line.

showstring

The show expression for the layout line.

htmlstring

The HTML to use as a template for the custom layout line type. Items can be injected into the HTML for the line by placing the item name between "[" and "]" (for example a item with the name "title" would be injected by placing "[title]" in the HTML).

beforeobject

The "before" part of the default layout line type. In a horizontal layout this will be left, in a vertical top.

itemsarray

An array of item names to show in the "before" part. Separators can be specified by a "-", while a spacer can be made with a CSS size between a "<" and ">". For example "< 50px >".

middleobject

The "middle" part of the default layout line type.

itemsarray

An array of item names to show in the "middle" part. Separators can be specified by a "-", while a spacer can be made with a CSS size between a "<" and ">". For example "< 50px >".

afterobject

The "after" part of the default layout line type. In a horizontal layout this will be right, in a vertical bottom.

itemsarray

An array of item names to show in the "after" part. Separators can be specified by a "-", while a spacer can be made with a CSS size between a "<" and ">". For example "< 50px >".